<div data-hook="admin_tax_category_form_fields">
  <%= f.field_container :name, class: ['form-group'] do %>
    <%= f.label :name, Spree.t(:name) %>
    <%= f.text_field :name, class: 'form-control' %>
    <%= f.error_message_on :name %>
  <% end %>

  <%= f.field_container :tax_code, class: ['form-group'] do %>
    <%= f.label :tax_code, Spree.t(:tax_code) %>
    <%= f.text_field :tax_code, class: 'form-control' %>
  <% end %>

  <%= f.field_container :description, class: ['form-group'] do %>
    <%= f.label :description, Spree.t(:description) %><br>
    <%= f.text_field :description, class: 'form-control' %>
  <% end %>

  <%= f.field_container :is_default, class: ['form-group checkbox'] do %>
    <%= f.label :is_default do %>
      <%= f.check_box :is_default %>
      <%= Spree.t(:default) %>
    <% end %>
  <% end %>
</div>
